package com.scunewscreeper.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.DynamicInsert;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.Table;
import java.io.Serializable;

@Embeddable
@Data
@Table( name ="star_t_news" )
@DynamicInsert
@AllArgsConstructor
@NoArgsConstructor
public class StartNewsPK implements Serializable {
    private static final long serialVersionUID =  4228886444661057008L;
    @Column(name="S_USERID")
    private String sUserid;

    @Column(name="S_NEWSID")
    private String sNewsid;
}
